package com.example.androidmqtt.Vo;

/**
 * @author: pjg
 * @time: 2022/10/1
 */
public class UserMessage {

    private Integer newsId;

    private String newsTitle;

    private String newsContent;

    //    private Integer newsAuthor;
    private String newsAuthor;

    private String authorAvatar;

    //    private Integer newsDepartment;
    private String newsDepartment;

    private String newsAppendix;

    private String newsPublishTime;

    private Integer isRead;

    public UserMessage() {
    }

    public UserMessage(Integer newsId, String newsTitle, String newsContent, String newAuthor, String authorAvatar, String newsDepartment, String newsAppendix,Integer isRead,String newsPublishTime) {
        this.newsId = newsId;
        this.newsTitle = newsTitle;
        this.newsContent = newsContent;
        this.newsAuthor = newAuthor;
        this.authorAvatar = authorAvatar;
        this.newsDepartment = newsDepartment;
        this.newsAppendix = newsAppendix;
        this.isRead = isRead;
        this.newsPublishTime = newsPublishTime;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }

    public String getAuthorAvatar() {
        return authorAvatar;
    }

    public void setAuthorAvatar(String authorAvatar) {
        this.authorAvatar = authorAvatar;
    }

    public Integer getNewsId() {
        return newsId;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public String getNewsContent() {
        return newsContent;
    }

    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent;
    }

    public String getNewsAuthor() {
        return newsAuthor;
    }

    public void setNewsAuthor(String newsAuthor) {
        this.newsAuthor = newsAuthor;
    }

    public String getNewsDepartment() {
        return newsDepartment;
    }

    public void setNewsDepartment(String newsDepartment) {
        this.newsDepartment = newsDepartment;
    }

    public String getNewsAppendix() {
        return newsAppendix;
    }

    public void setNewsAppendix(String newsAppendix) {
        this.newsAppendix = newsAppendix;
    }

    public String getNewsPublishTime() {
        return newsPublishTime;
    }

    public void setNewsPublishTime(String newsPublishTime) {
        this.newsPublishTime = newsPublishTime;
    }

}
